-- GENERATED SPELL FOR [Mana Feeder] --


function spell0_16491(pUnit, Event) --@Astral Bite,Self--
pUnit:FullCastSpellOnTarget(29908,pUnit)
pUnit:RegisterEvent('Sorts_16491', 569, 1)
end

function Sorts_16491(pUnit, Event)
local choix_sorts_16491 = math.random(0, 0)
if choix_sorts_16491 == 0 then
pUnit:RegisterEvent('spell0_16491', 1, 1)
end
end

function mob16491_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16491', math.random(1500, 3000), 1)
end

function mob16491_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16491_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16491_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16491, 1, 'mob16491_Action')
RegisterUnitEvent(16491, 2, 'mob16491_Leave')
RegisterUnitEvent(16491, 3, 'mob16491_Kill')
RegisterUnitEvent(16491, 4, 'mob16491_Die')
